package com.example.system_backend.repository;

import com.example.system_backend.entity.Treatment;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TreatmentRepository extends JpaRepository<Treatment, Integer> {
    public List<Treatment> findAllByUserEmail(String userEmail);
    public List<Treatment> findAllByDtEmail(String userEmail);
}
